package com.orange.lockscreen;

import android.content.Context;

import com.android.internal.policy.impl.ExtLockScreenLoader.ExtLockScreen;
import com.orange.lockscreen.common.LogHelper;
import com.orange.lockscreen.server.LockscreenService;

public class LockscreenManager {

	private static final String	TAG	= "LockscreenManager";

	public static ExtLockScreen getLockscreen(Context context) {
		LogHelper.v(TAG, "getLockscreen. ");
		ExtLockScreen view = null;
		view = LockscreenService.getInstance(context)
				.getLockscreenView(context);
		if (null == view) {
			LogHelper.w(TAG, "getLockscreen. ExtLockScreen is null!");
		}

		LogHelper.v(TAG, "getLockscreen. return ExtLockScreen.");
		return view;
	}
}
